package com.ctshk.rpc.order.custom.req.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NonNull;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 * 保險价格req
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-03-04
 */
@Data
@ApiModel(value="保險价格req", description="保險价格req")
public class InsurancePriceReq implements Serializable {

    @NotNull(message = "保險主数据ID不能为空")
    @ApiModelProperty(value = "保險主数据ID",required = true)
    private Long mainDataId;

    @NotNull(message = "保險名称不能为空")
    @ApiModelProperty(value = "保險名称",required = true)
    private String name;

    @NotNull(message = "计划编码不能为空")
    @ApiModelProperty(value = "计划编码",required = true)
    private Integer rationType;

    @NotNull(message = "api-编码不能为空")
    @ApiModelProperty(value = "api-编码",required = true)
    private String apiCode;

    @NotNull(message = "險種ID不能为空")
    @ApiModelProperty(value = "險種ID",required = true)
    private Long typeId;

    @NotNull(message = "險種名称不能为空")
    @ApiModelProperty(value = "險種名称",required = true)
    private String typeName;

    @NotNull(message = "承保公司不能为空")
    @ApiModelProperty(value = "承保公司",required = true)
    private String insuranceCarriers;

    @ApiModelProperty(value = "保险详情")
    private List<InsuranceDetialReq> insuranceDetialReq;

}
